package com.program.utils;

import com.program.eneity.Airplane;

/**
 * @program: AirportSystem
 * @description: 队列节点
 * @author: 19071027
 * @create: 2021-09-06 17:46
 **/
public class QueueNode<T> {

    private T element;

    QueueNode next;

    public T getElement() {
        return element;
    }

    public void setElement(T element) {
        this.element = element;
    }

    QueueNode(T element) {
        this.element = element;
        this.next = null;
    }

    QueueNode(T element, QueueNode next) {
        this.element = element;
        this.next = next;
    }

}
